math/rand/v2.Zipf.hinv (method)
3 uses
math/rand/v2 (current package)
zipf.go#L31: func (z *Zipf) hinv(x float64) float64 {
zipf.go#L52: z.s = 1 - z.hinv(z.h(1.5)-math.Exp(-z.q*math.Log(z.v+1.0)))
zipf.go#L67: x := z.hinv(ur)
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |